
<?php
   $path_image = STATIC_URL."/img_welcome";
   $info = $this->config_content ;    
?>

<?php if ($info->content_type == 1){ ?>
    <?php if ($info->image_url !="") { ?>
        <a target="_blank" href= <?php echo $this->escape($info->image_url) ?> ><img src="<?php echo $path_image ."/".$info->image ?>"></a>
    <?php } else { ?>
        <img src="<?php echo $path_image ."/".$info->image ?>">
    <?php } ?>
<?php } else if ($info->content_type == 2){ ?>
    <?php echo $info->html ?>
<?php } else if ($info->content_type == 3){ ?>    
    <iframe class="welcome" width ="810" scrolling="<?php echo $info->iframe_hide_scroll == 0? 'auto' : 'no' ?>" src="<?php echo $this->escape($info->iframe_url) ?>" height="<?php echo $info->iframe_height ?>"></iframe>
<?php } ?>

